אַרְבַּע מִדּוֹת בְּהוֹלְכֵי לְבֵית הַמִּדְרָשׁ. הוֹלֵךְ וְאֵינוֹ עוֹשֶׂה, שְׂכַר הֲלִיכָה בְיָדוֹ. עוֹשֶׂה וְאֵינוֹ הוֹלֵךְ, שְׂכַר מַעֲשֶׂה בְיָדוֹ. הוֹלֵךְ וְעוֹשֶׂה, חָסִיד. לֹא הוֹלֵךְ וְלֹא עוֹשֶׂה, רָשָׁע:
There are four middoth in going to the house of study: going but not doing [i.e., going to the house of study to listen, but not reviewing his learning and not understanding] — the reward of going is in his hand; doing [i.e., learning and reviewing in his study at home], but not going — the reward of doing is in his hand; going and doing — a chasid; not going and not doing — a wicked one.
Bartenura
There are four temperaments among givers of charity: meaning to say in the giving of charity, and not literally among givers of charity. As behold, there is among them the one who does not give. And so [too] in the adjacent [mishnah], "among those who attend the House of Study," is in the going to the House of Study.